package com.by.mapper;

import com.by.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ServivE
 * @version 0.1
 * @className OrderItemMapper
 * @description
 * @date 2024/11/14 17:28
 * @since jdk17
 */
@Mapper
@SuppressWarnings("all")
public interface OrderItemMapper {
    /**
     * 批量保存订单明细
     * @param order_id
     * @param orderItemList
     * @return
     */
    int batchSave(@Param("orderId") int orderId,@Param("orderItemList") List<OrderItem> orderItemList);
}
